﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XbsWebAPI.EntityFrameworkCore.Entities.Enums;

namespace XbsWebAPI.EntityFrameworkCore.Entities
{
    /// <summary>
    /// 订单详情
    /// </summary>
    public class OrderDetail: XbsBasicClass
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNumber { get; set; }



        /// <summary>
        /// 房客姓名
        /// </summary>
        public string Guests { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 入住时间
        /// </summary>
        public DateTime CheckInDate { get; set; }

        /// <summary>
        /// 离店时间
        /// </summary>
        public DateTime CheckOutDate { get; set; }

        /// <summary>
        /// 实际支付
        /// </summary>
        public decimal ActualPayment { get; set; }

        /// <summary>
        /// 总价
        /// </summary>
        public decimal TotalPrice { get; set; }


        /// <summary>
        /// 微信昵称
        /// </summary>
        public string WxName { get; set; }

        /// <summary>
        /// 微信电话
        /// </summary>

        public string WxPhoneNumber { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime OrderTime { get; set; }

        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime PaymentTime { get; set; }


        public Guid? RoomId { get; set; }


        public Guid? HouseTypeId { get; set; }

        /// <summary>
        /// 房型
        /// </summary>
        public string HouseTypeName { get; set; }

        /// <summary>
        /// 是否续住
        /// </summary>
        public bool IsContinueToLive { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderStatus OrderStatus { get; set; }
    }
}
